package com.magic.gre.adapter;

import android.content.Context;

import com.magic.gre.R;
import com.noname.lib_base_java.adapter.CommonAdapter;
import com.noname.lib_base_java.adapter.ViewHolder;

import java.util.List;

/**
 * Author: Lmoumou
 * Date: 2019-01-14 12:24
 * 文件名: TypeAdapter
 * 描述:
 */
public class TypeAdapter extends CommonAdapter<String> {
    public TypeAdapter(Context mContext, List<String> mData) {
        super(mContext, mData, R.layout.item_layout);
    }

    @Override
    protected void bindData(ViewHolder holder, int position) {
        holder.setText(R.id.item_tv,mData.get(position));
    }
}
